package com.xlh.outside;

import android.app.Application;

import com.impl.SystemCore.ActivityLifecycleListener;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by Mike@Fang.j@大当家 on 2017-11-19.
 */

public class WzApplication extends Application {


    //登陆的玩家账号
    private String activeUser;
    //玩家密码
    private String activeUserPwd;
    //连接的服务器
    private String activeServer;
    //玩家昵称
    private String activeUserNickName;
    //玩家性别
    private String activeUserSex;
    //服务器端口
    private String activePort;
    //玩家手机号
    private String activeUserPhone;
    //发送给服务器的KEY
    private String wzkey;



    /**
     * 高度
     */
    private int wndWidth;
    /**
     * 高度
     */
    private int wndHeight;


    public int getWndHeight() {
        return wndHeight;
    }

    public void setWndHeight(int wndHeight) {
        this.wndHeight = wndHeight;
    }

    public int getWndWidth() {
        return wndWidth;
    }

    public void setWndWidth(int wndWidth) {
        this.wndWidth = wndWidth;
    }



    public String getWzkey() {
        return wzkey;
    }

    public void setWzkey(String wzkey) {
        this.wzkey = wzkey;
    }

    public String getActiveUserPhone() {
        return activeUserPhone;
    }

    public void setActiveUserPhone(String activeUserPhone) {
        this.activeUserPhone = activeUserPhone;
    }

    public String getActiveUserNickName() {
        return activeUserNickName;
    }

    public void setActiveUserNickName(String activeUserNickName) {
        this.activeUserNickName = activeUserNickName;
    }

    public String getActiveUserSex() {
        return activeUserSex;
    }

    public void setActiveUserSex(String activeUserSex) {
        this.activeUserSex = activeUserSex;
    }

    public String getActiveServer() {
        return activeServer;
    }

    public void setActiveServer(String activeServer) {
        this.activeServer = activeServer;
    }

    public String getActivePort() {
        return activePort;
    }

    public void setActivePort(String activePort) {
        this.activePort = activePort;
    }

    public String getActiveUserPwd() {
        return activeUserPwd;
    }

    public void setActiveUserPwd(String activeUserPwd) {
        this.activeUserPwd = activeUserPwd;
    }

    public String getActiveUser() {
        return activeUser;
    }

    public void setActiveUser(String activeUser) {
        this.activeUser = activeUser;
    }



    public ExecutorService fixedThreadPool = Executors.newFixedThreadPool(10);


    @Override
    public void onCreate() {
        super.onCreate();
       // registerActivityLifecycleCallbacks(new ActivityLifecycleListener(this));
    }





}
